package cn.kimming.wms.domain;

import com.alibaba.fastjson.JSON;

import lombok.Getter;
import lombok.Setter;

//封装ajax请求返回的信息
public class JsonMsg {
	@Getter @Setter
	private boolean success;
	@Getter @Setter
	private String msg;
	
	public JsonMsg() {
	}

	public JsonMsg(boolean success, String msg) {
		this.success = success;
		this.msg = msg;
	}
	
	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
}
